10. Inputs and Outputs
Inputs and Outputs
QUIZ QUESTION::
When you run the following code:
def say_hello(name):
greeting = "Hello " + name + "!"
return greeting
print say_hello("Miriam")
print say_hello("Andy")
it displays the result shown below:
Hello Miriam!
Hello Andy!
Do each of the following have more to do with input or output?
ANSWER CHOICES:
|
Component |
Input or Output? |
|---|---|
no idea! |
|
output |
|
output |
|
input |
|
input |
|
input |
|
output |